<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
/**
 * Template Listagem
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
-->
<!--
/**
 * Template registros
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
-->
<link REL="stylesheet" href="include/style.css" type="text/css"><!--[if IE]><link REL="stylesheet" href="include/styleIE.css" type="text/css"><![endif]-->{BEGIN style_block}<style>
#height100{$id} {padding:1px;}
#toplinks_caption{$id} {padding:0px 1px;font-size:12px;font-weight:bold;}
#mastertable_block{$id} {margin-left:50px;margin-top:2px}
#toplinks_block{$id} {width:100%;padding:0px;padding-left:30px}
#toplinks_block{$id} span {padding-left:1px;}
#search_records_block{$id} { padding-left:5px;}
#search_records_block{$id} > * {vertical-align:middle;}
#search_records_block{$id} select {margin:3px 0px;}
#login_block{$id} {padding:10px; margin-bottom:3px}
#login_block{$id} * {margin-left:5px; padding:5px 0px;}
#menu_block{$id} {padding:10px;}
#menu_block{$id} * {list-style-type:none;}
#menu_block{$id} IMG {vertical-align:middle;}
#record_controls{$id} {padding:10px 10px;text-align: left;}
#record_controls{$id} span{padding-left:10px;}
#recordcontrolsadd_block{$id} {padding:10px 10px;border: solid; border-width: 1px; border-color: #C0C0C0;text-align: right;}
#grid_block{$id} {border:solid 1px #C0C0C0;}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
body {margin:20px;padding:10px;}
.bottomPanelBorder{
	/*margin-right: 10px;*/
	padding-bottom: 18px;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
#searchform{$id}{float: left;}
#searchPanelContainer{$id}{
	width: 200px;
	float: left;
	position:absolute;
}
.searchOptions {margin-top: -10px;}
/*report styles*/
#export_links{$id} * {}
</style>
{END style_block}{BEGIN iestyle_block}<!--[if IE]>
<STYLE>
.grid {height:100%;}
</STYLE>
<![endif]-->{END iestyle_block}
<META name=GENERATOR content="MSHTML 9.00.8112.16440"></HEAD>
<BODY {$bodyattrs} marginwidth="0" marginheight="0">{BEGIN body}{$header} 
<DIV id="height100{$id}">{BEGIN mastertable_block}<DIV id="mastertable_block{$id}">{$showmasterfile} <A class=toplinks 
{$backtomasterlink_attrs}><B><span class=buttonborder><input class=button type=button value="Voltar à Lista" {$backbutton_attrs} onClick="history.go(-1)"></span>

    </A> 
<BR></DIV>{END mastertable_block}
{BEGIN toplinks_block}<DIV id="toplinks_block{$id}"><h2><B>Objetivo&nbsp;Sisema</B></h2> </DIV>{END toplinks_block}
{BEGIN search_records_block}<DIV id="recordcontrolsadd_block{$id}" class=shade><SPAN id="search_records_block{$id}" class=shade>{BEGIN searchform}<!-- Search panel header for horizontal layouts --><SPAN id="searchform{$id}" align="absmiddle"><SPAN id="searchPanelHeader{$id}">{$simpleSearchFieldCombo} {$simpleSearchTypeCombo} {BEGIN searchform_text}<INPUT size=25 {$searchfor_attrs}>{END searchform_text} &nbsp; {BEGIN searchform_search}<SPAN class=buttonborder><input type=button class="button" value="Buscar" {$searchbutton_attrs}></SPAN>{END searchform_search} 
&nbsp; {BEGIN searchform_showall}<SPAN id="showall{$id}" class=buttonborder {$showAllCont_attrs}><INPUT class=button value="Mostrar Todos" type=button {$showallbutton_attrs}></SPAN>{END searchform_showall} 
</SPAN>{BEGIN searchPanelTopButtons}<SPAN><!--&nbsp;
		<span class="buttonborder"><input class="button" type="button" id="showSrchWin{$id}" style="width: 18px; background-image: url(images/search/showWindowPin.gif);" {$showHideSearchWin_attrs} ></span>
        --> 
&nbsp; <SPAN class=buttonborder><input class="button" type="button" id="showOptPanel{$id}" style="background-image: url(images/search/showOptions.gif);" {$showHideSearchPanel_attrs} ></SPAN> 
</SPAN>{END searchPanelTopButtons}</SPAN>{END searchform}{BEGIN details_block}<SPAN {$details_attrs}>Ítens Encontrados: <B>{$records_found}</B>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>{END details_block} 
{BEGIN pages_block}<SPAN {$pages_attrs}>Página <B>{$page}</B> de <B>{$maxpages}</B></SPAN>{END pages_block} 
&nbsp;&nbsp;&nbsp;&nbsp; {BEGIN recordspp_block}<!-- class="center_block" -->{$recsPerPage} {END recordspp_block}</SPAN></DIV>{END search_records_block}<!-- search panel and window -->
<DIV id="searchPanelContainer{$id}" class=searchPanelContainer>{$adv_search_panel} </DIV>
<DIV {$marginStyle} moveForSearch="move{$id}">{BEGIN recordcontrols_block}<DIV id="record_controls{$id}">{BEGIN newrecord_controls}<span id="newrecord_controls{$id}">{BEGIN inlineadd_link}<span class=buttonborder><input type=button class="button" value="Adicionar Novo" {$inlineaddlink_attrs} > 
</span>{END inlineadd_link}</span>{END newrecord_controls}{$lookupSearchControls}
{BEGIN record_controls}<span id="record_controls{$id}2">{BEGIN editselected_link}<span class=buttonborder {$editselectedlink_span}><input type=button class="button" value="Editar selecionado" {$editselectedlink_attrs}>
</span>{END editselected_link} {BEGIN saveall_link}<span class=buttonborder {$savealllink_span}><input type=button class="button" value="Salvar todos" {$savealllink_attrs}>
</span>{END saveall_link} {BEGIN cancelall_link}<span class=buttonborder {$cancelalllink_span}><input type=button class="button" value="Cancelar Edição" {$cancelalllink_attrs}>
</span>{END cancelall_link}

        {BEGIN deleteselected_link}<span class=buttonborder {$deleteselectedlink_span}><input type=button class="button" value="Elimina Selecionados" {$deleteselectedlink_attrs}>
</span>{END deleteselected_link}

        
         </span> 
{END record_controls}</DIV>{END recordcontrols_block}
<DIV id="usermessage{$id}" class=message>{$user_message}</DIV>
{BEGIN grid_block}<table name="maintable" class="display" cellspacing=2 cellpadding=3 border=0 id="grid_block{$id}">{BEGIN grid_header}<THEAD><TR vAlign=top {$gridHeader_attrs}>{BEGIN record_header}{BEGIN listIcons_column}<TH class=blackshade noWrap align=center iEditCont="all" {$widthListIcons}>&nbsp;</TH>{END listIcons_column}
    {BEGIN checkbox_column}<TH class=blackshade width=20 align=left>{BEGIN checkbox_header}<INPUT type=checkbox {$checkboxheader_attrs}> 
    {END checkbox_header}</TH>{END checkbox_column}
    {BEGIN sigap_objetivo_sisema_dtable_column}<TH class=blackshade align=left>&nbsp;</TH>{END sigap_objetivo_sisema_dtable_column}
    {BEGIN id_perspectiva_sisema_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; {BEGIN id_perspectiva_sisema_fieldheader}<A class=defblackshade {$id_perspectiva_sisema_orderlinkattrs}>Perspectiva Sisema</A>{END id_perspectiva_sisema_fieldheader} &nbsp; </th>{END id_perspectiva_sisema_fieldheadercolumn}
    {BEGIN objetivo_sisema_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; {BEGIN objetivo_sisema_fieldheader}<A class=defblackshade {$objetivo_sisema_orderlinkattrs}>Objetivo Sisema</A>{END objetivo_sisema_fieldheader} &nbsp; </th>{END objetivo_sisema_fieldheadercolumn}
    {BEGIN endrecordheader_block}<TH>&nbsp;</TH>{END endrecordheader_block}{END record_header}</TR></THEAD>{END grid_header}
  {BEGIN grid_row}<TR vAlign=top {$rowattrs} {$rowstyle}>{BEGIN grid_record}{BEGIN listIcons_column}<TD class=listIcons vAlign=middle noWrap align=left iEditCont="all">{BEGIN inlineedit_column}{BEGIN inlineedit_link}<a {$inlineeditlink_attrs} title="Editar" rel="Editar" class="tooltip"><IMG 
      class=listIcon border=0 alt=Editar align=middle 
      src="images/icon_inline_edit_new.gif"></a> {END inlineedit_link}{END inlineedit_column}</TD>{END listIcons_column}
    {BEGIN checkbox_column}<TD vAlign=middle width=20 align=left>{BEGIN checkbox}<INPUT type=checkbox {$checkbox_attrs}> {END checkbox}</TD>{END checkbox_column}
    {BEGIN sigap_objetivo_sisema_dtable_column}<TD vAlign=middle noWrap align=left>{BEGIN macro_objetivo_dtable_link}<a  {$macro_objetivo_dtablelink_attrs} rel="Macro Objetivo" class="tooltip"><img src="botoes/view.png" alt="Macro Objetivo" title="Macro Objetivo"/> 
    <SPAN {$macro_objetivo_childnumber_attr}>{BEGIN macro_objetivo_childcount}({$macro_objetivo_childnumber})
  
  {END macro_objetivo_childcount}
  </SPAN> </a>&nbsp; 
{END macro_objetivo_dtable_link}{BEGIN objetivo_estrategico_dtable_link}<a  {$objetivo_estrategico_dtablelink_attrs} rel="Objetivo Estrategico" class="tooltip"><img src="botoes/view.png" alt="Objetivo Estrategico" title="Objetivo Estrategico"/> 
    <SPAN {$objetivo_estrategico_childnumber_attr}>{BEGIN objetivo_estrategico_childcount}({$objetivo_estrategico_childnumber})
  
  {END objetivo_estrategico_childcount}
  </SPAN> 
      </a>&nbsp; {END objetivo_estrategico_dtable_link}{BEGIN programas_manejo_dtable_link}<a  {$programas_manejo_dtablelink_attrs} rel="Programas Manejo" class="tooltip"><img src="botoes/view.png" alt="Programas Manejo" title="Programas Manejo"/> 
    <SPAN {$programas_manejo_childnumber_attr}>{BEGIN programas_manejo_childcount}({$programas_manejo_childnumber})
  
  {END programas_manejo_childcount}
  </SPAN> 
      </a>&nbsp; {END programas_manejo_dtable_link}{BEGIN sub_programas_dtable_link}<a  {$sub_programas_dtablelink_attrs} rel="Sub Programas" class="tooltip"><img src="botoes/view.png" alt="Sub Programas" title="Sub Programas"/> 
    <SPAN {$sub_programas_childnumber_attr}>{BEGIN sub_programas_childcount}({$sub_programas_childnumber})
  
  {END sub_programas_childcount}
  </SPAN> </a>&nbsp; {END sub_programas_dtable_link}{BEGIN indicador_dtable_link}<a  {$indicador_dtablelink_attrs} rel="Indicador" class="tooltip"><img src="botoes/view.png" alt="Indicador" title="Indicador"/> 
    <SPAN {$indicador_childnumber_attr}>{BEGIN indicador_childcount}({$indicador_childnumber})
  
  {END indicador_childcount}
  </SPAN> 
      </a>&nbsp; {END indicador_dtable_link}{BEGIN objetivo_estrat_uc_dtable_link}<a  {$objetivo_estrat_uc_dtablelink_attrs} rel="Objetivo Estratégico da UC" class="tooltip"><img src="botoes/view.png" alt="Objetivo Estratégico da UC" title="Objetivo Estratégico da UC"/> 
    <SPAN {$objetivo_estrat_uc_childnumber_attr}>{BEGIN objetivo_estrat_uc_childcount}({$objetivo_estrat_uc_childnumber})
  
  {END objetivo_estrat_uc_childcount}
  </SPAN> 
      </a>&nbsp; {END objetivo_estrat_uc_dtable_link}</TD>{END sigap_objetivo_sisema_dtable_column}
    {BEGIN id_perspectiva_sisema_fieldcolumn}<TD vAlign=middle {$id_perspectiva_sisema_style}>{$id_perspectiva_sisema_value} </TD>{END id_perspectiva_sisema_fieldcolumn}
    {BEGIN objetivo_sisema_fieldcolumn}<TD vAlign=middle {$objetivo_sisema_style}>{$objetivo_sisema_value} </TD>{END objetivo_sisema_fieldcolumn}
    {BEGIN endrecord_block}<TD class=body2 {$endrecordblock_attrs}>&nbsp;</TD>{END endrecord_block}{END grid_record}</TR>{END grid_row}</table>{END grid_block}{BEGIN pagination_block}<DIV id="pagination_block{$id}" class=toplist align=center>{$pagination}</DIV>{END pagination_block}
{BEGIN message_block}<DIV id="message_block{$id}" class=toplist align=center valign="middle"><B>{$message}</B></DIV>{END message_block}</div> {END body}{$footer}
